package com.ddxz.tools.license;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * description
 *
 * @author 朱宗刚
 * @version 1.0.0
 * @date 2020/6/8
 */

@ConfigurationProperties(prefix="ddxz")
public class LicenseProperties {
    private License license = new License();

    public License getLicense() {
        return license;
    }

    public void setLicense(License license) {
        this.license = license;
    }

    public static class License{
        /**
         * license文件位置
         */
        private String file = "";

        /**
         * 公司名称
         */
        private String name = "";

        public String getFile() {
            return file;
        }

        public void setFile(String file) {
            this.file = file;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
